package upicgame.user.service;

import upicgame.entity.User;

import java.util.List;

/**
 * @program: upicgame
 * @description: 用户服务
 * @author: lhq
 * @create: 2019-12-17 11:48
 */
public interface UserService {
	User login(String username,String password);
	boolean updateUser(User user);
	boolean addUser(User user);
	boolean deleteUser(Integer id);
	User findUser(Integer id,String idType);
	User findUser(String info,String infoType);
	List<User> userLit(Integer currentPage,Integer size);
	Long totalCount();
	User addMoney(Integer id,Double money);


}
